package com.bqjr.xms.service;

import com.bqjr.xms.modle.ConsumerTemplateUser;
import com.bqjr.xms.service.impl.ConsumerTemplateUserServiceImpl;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description: ConsumerTemplateUserService.
 * Created by XHZ on 2017/8/7.
 */
@FeignClient(name = "provider-user", fallback = ConsumerTemplateUserServiceImpl.class)
public interface ConsumerTemplateUserService {
    @RequestMapping("/user/{id}")
    ConsumerTemplateUser findById(@RequestParam("id") Long id);
}
